@extends('admin.layouts.wap')
@section('title', '复用公众注册小程序')

@section('content')

<div class="main-back">
    <div class="m-mt-1">
        <form id="comment-form" method="GET" action="{{ URL::current() }}">
            <div class="card">
                <div class="card-body">
                    <div class="m-form-item">
                        <label><b>*</b>微信公众号:<font>点击前往 <a href="/admin/miniapps/official_bind">授权添加</a> 。</font></label>
                        <div class="m-col-12 m-xs-12">
                            <select class="m-select" name="app_id">
                                <option value="">选择微信公众号</option>
                                @forelse($offiaccounts as $offiaccount)
                                <option value="{{ $offiaccount->appid }}">{{ $offiaccount->name }}</option>
                                @endforeach
                            </select>
                        </div>
                        @csrf
                    </div>
                    <div class="m-form-item">
                        <button class="m-form-btn m-btn-full">立即注册微信小程序</button>
                    </div>
                    <div class="m-info-item m-mt-1">
                        <label>特别提醒</label>
                        <div class="text">
                            <ul>
                                <li>复用公众号资质每月最多注册5个微信小程序，超过上限需次月注册。</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>


@endsection
